import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/view/Home.vue'
console.log(Home)
Vue.use(VueRouter)
const arrRouterList = [
  {
    path: '/',
    component: Home,
    name: 'home',
    meta: {
      title: ''
    }
  },
  {
    path: '*',
    redirect: '/'
  }
]
let router = new VueRouter({
  mode: 'hash',
  routes: arrRouterList
})
export default router
